﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Laba1
{
 public   class Evaluation
 {
     private int _minimum;
     private int _maximum;
     private string _evaluation;

     public Evaluation(int minimum, int maximum, string evaluation)
     {
         _minimum = minimum;
         _maximum = maximum;
         _evaluation = evaluation;
     }

     public bool isEvaluation(int rating)
     {
         return (_minimum <= rating && _maximum >= rating);
     }

     public string Evaluation1
     {
         get { return _evaluation; }
     }
 }
}
